Release 10.1A: OpenEdge Development:
Java Open Clients
Meta data methods
Meta data about the SDOResultSet is exposed through the
com.progress.open4gl.SDOResultSetMetaDatainterface. An object that implements SDOResultSetMetaData is returned using theSDOResultSet.getMetaData()method. The interface,com.progress.open4gl.SDOResultSetMetaData, is an extended subset of the standard JDBC 2java.sql.ResultSetMetaDatainterface.SDOResultSetMetaData works with both JDK 1.1.x and JDK 1.2; therefore, much of the Java 1.2 functionality (standard JDBC ResultSetMetaData interface) is supported even with JDK 1.1.x.
JDBC 2 meta data methods
The supported standard JDBC 2 methods include the ones listed in Table 9–6.
Nonstandard meta data methods [extension]
SDOResultSetMetaData extensions to the standard interface include the following features:
- Methods that expose meta data information that exists in the schema of the OpenEdge database but does not have an equivalent standard (for example,
getColumnInitialValue()).Note: The SDOResultSetMetaData interface also hides SmartDataObject system fields. SmartDataObject system fields are fields (such as- Methods that expose 4GL-to-Java mapping information (for example,
getColumnJavaTypeName()).changedFieldsList) that are used only by the SmartDataObject implementation code. They have no meaning for the Open Client and should not be accessed directly.Table 9–7 lists the supported nonstandard SDOResultSetMetaData methods.
Table 9–7: Nonstandard SDOResultSetMetaData methods Method Description The 4GL dictionary display format. The 4GL dictionary initial value as a string. The Java type name. The 4GL data type number. The return value corresponds to one of the class constants defined incom.progress.open4gl.Parameter. For more information, see Chapter 4, " Passing Parameters." The 4GL dictionary validation expression. The 4GL dictionary validation message.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |